package com.example.springbootdemo.mapstruct;

import com.example.springbootdemo.bean.dto.FileInfoDTO;
import com.example.springbootdemo.bean.entity.FileInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author hh
 * @date 2022/3/2
 */
@Mapper
public interface FileInfoConvert {

    FileInfoConvert FILE_INFO_CONVERT = Mappers.getMapper(FileInfoConvert.class);

    FileInfo fileInfoDTOToFileInfo(FileInfoDTO fileInfoDTO);

}
